]> dgit.raspbian.org Git - gnome-shell.git/commit
status/keyboard: Preserve MRU order while IBus is disabled
authorMaksim Mazko <undeparg@gmail.com>
Mon, 2 Mar 2026 17:44:56 +0000 (20:44 +0300)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 17:49:19 +0000 (18:49 +0100)
commitd39a118eab79861924dbcb8fc1f32d00bc98403a
tree4be8c7fee87d40045ea1496f1585f2b0f05eb77f
parente9ed2c2c495238242e80cbacda5050a061a2b170
status/keyboard: Preserve MRU order while IBus is disabled

In password fields, IBus sources are temporarily disabled and a backup
of the MRU list is created. If the user switches layouts in that state,
the active MRU list is updated, but the backup is not.

When IBus is enabled again, the stale backup is restored and the order
the user just selected is lost. Sync the backup on interactive source
switches while IBus is disabled, so the MRU order stays consistent.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8538
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4101>
(cherry picked from commit 8e0f850edc03ada8f79ef68412eabb05c5f76d02)
js/ui/status/keyboard.js